package com.prp.dao;

import java.sql.Timestamp;
import java.util.Date;

/**
 * Grade entity. @author MyEclipse Persistence Tools
 */

public class Grade implements java.io.Serializable {

	// Fields

	private Integer id;
	private Userinfo userinfo;
	private Item item;
	private Integer star;
	private Date date;

	// Constructors

	/** default constructor */
	public Grade() {
	}

	/** minimal constructor */
	public Grade(Integer id, Userinfo userinfo, Item item) {
		this.id = id;
		this.userinfo = userinfo;
		this.item = item;
	}

	/** full constructor */
	public Grade(Integer id, Userinfo userinfo, Item item, Integer star,
			Date date) {
		this.id = id;
		this.userinfo = userinfo;
		this.item = item;
		this.star = star;
		this.date = date;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Userinfo getUserinfo() {
		return this.userinfo;
	}

	public void setUserinfo(Userinfo userinfo) {
		this.userinfo = userinfo;
	}

	public Item getItem() {
		return this.item;
	}

	public void setItem(Item item) {
		this.item = item;
	}

	public Integer getStar() {
		return this.star;
	}

	public void setStar(Integer star) {
		this.star = star;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

}